package com.smedi.ismedi.inmail.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 通知公告与项目关系Entity类
 *
 * @author niuyanling
 * @date 2021/07/26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "iml_announcement_project_relationship")
public class AnnouncementProjectRelationshipEntity extends BasicFieldEntity implements Serializable {
    /**
     * 通知公告Id
     */
    @TableField(value = "announcement_id")
    private Long announcementId;

    /**
     * 项目名称
     */
    @TableField(value = "project_name")
    private String projectName;

    /**
     * 项目是否标为已读
     */
    @TableField(value = "is_read")
    private Boolean projectRead;
}
